using UnityEngine;
using System.Collections;

public class Obstacle : MonoBehaviour {

	// Use this for initialization
	void Start () {
        if (GlobalState.isRedHero)
        {
            renderer.material = Resources.Load("boneObstacle") as Material;
        }
        else
        {
            renderer.material = Resources.Load("tombstoneObstacleMaterial") as Material;
        }

	}
	
}
